package model.core.code;

public class MethodData {
	private int methodID;
	private final int codeID;
	private final int methodTokenID;

	public MethodData(CodeSeg codeSeg, MethodToken token) {
		methodID = -1;
		codeID = codeSeg.getCodeID();
		methodTokenID = token.getTokenID();
	}

	public int getMethodID() {
		return methodID;
	}

	public void setMethodID(int methodID) {
		this.methodID = methodID;
	}

	public int getCodeID() {
		return codeID;
	}
	
	public int getMethodTokenID() {
		return methodTokenID;
	}
}
